import { NgModule } from '@angular/core';
import { Routes, RouterModule} from '@angular/router';
import { from } from 'rxjs';

import { ListComponent} from './list/list.component'

const routes:Routes=[
  {
    path:'',
    component:ListComponent
  }
]

@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports:[RouterModule]
})
export class OrderRoutingModule { }
